package games;

import teams.Team;

abstract class Match {
    // ** Variables **//
    private Team team1;

    private Team team2;

    private Integer id;

    // ** Metodos abstractos **//
    protected abstract Team getWinner();

    // ** Getters y Setters **//
    public Team getTeam1() {
        return this.team1;
    }

    public void setTeam1(final Team team1) {
        this.team1 = team1;
    }

    public Team getTeam2() {
        return this.team2;
    }

    public void setTeam2(final Team team2) {
        this.team2 = team2;
    }

    public void setId(final Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return this.id;
    }

}
